Hoare's Partition Demo

Legend: Pivot Left Partition (≤ pivot) Right Partition (> pivot) Being Swapped Unpartitioned